package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Festival;
import org.hxyjs.entity.Festival;
import org.hxyjs.entity.FestivalExample;

public interface FestivalMapper {
    long countByExample(FestivalExample example);

    int deleteByExample(FestivalExample example);

    int deleteByPrimaryKey(String fno);

    int insert(Festival record);

    int insertSelective(Festival record);

    String getMaxFno();

    List<Festival> getFestivalByPage(Map map);

    List<Festival> selectByExample(FestivalExample example);

    Festival selectByPrimaryKey(String fno);

    int updateByExampleSelective(@Param("record") Festival record, @Param("example") FestivalExample example);

    int updateByExample(@Param("record") Festival record, @Param("example") FestivalExample example);

    int updateByPrimaryKeySelective(Festival record);

    int updateByPrimaryKey(Festival record);
}